package animal;

// 测试类
public class Test {
    public static void main(String[] args) {
        Whale whale = new Whale("蓝鲸", 10);
        Dog dog = new Dog("拉布拉多", 5);

        whale.eat(); // 输出：鲸鱼正在吃浮游生物
        dog.eat();   // 输出：狗正在吃骨头
    }
}
